package com.sl.au.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * 售后服务单(现场产品质量信息反馈tab页)：
 * 
 */
@Entity
@Table(name = "sl_crm_afterSaleTicketBack")
public class AfterSaleTicketBack extends Root {

	/**
	 * 质量记录编号  
	 */
	@Column(name = "sRecordCode")
	private String recordCode;
	/**
	 * 产品状态   
	 */
	@Column(name = "sDeviceState")
	private String deviceState;
	/**
	 * 是否过保质期
	 */
	@Column(name = "sIsGuarantee")
	private String isGuarantee;
	/**
	 * 责任归属  
	 */
	@Column(name = "sDutyBlong")
	private String dutyBlong;
	/**
	 * 现场问题描述 
	 */
	@Column(name = "sQuestionDescription")
	private String questionDescription;
	/**
	 * 事故原因分析  
	 */
	@Column(name = "sReasonAnalyse")
	private String reasonAnalyse;
	/**
	 * 解决及整改方案   
	 */
	@Column(name = "sSolvePlan")
	private String solvePlan;
	/**
	 * 备注   
	 */
	@Column(name = "sMemo")
	private String memo;
	
	/**
	 * AfterSaleTicket_id 
	 */
	@OneToOne
	@JoinColumn(unique = false)
	private AfterSaleTicket afterSaleTicket;
	
	public AfterSaleTicket getAfterSaleTicket() {
		return afterSaleTicket;
	}
	public void setAfterSaleTicket(AfterSaleTicket afterSaleTicket) {
		this.afterSaleTicket = afterSaleTicket;
	}
	public String getRecordCode() {
		return recordCode;
	}
	public void setRecordCode(String recordCode) {
		this.recordCode = recordCode;
	}
	public String getDeviceState() {
		return deviceState;
	}

	public void setIsGuarantee(String isGuarantee) {
		this.isGuarantee = isGuarantee;
	}
	public String getIsGuarantee() {
		return isGuarantee;
	}
	public void setDeviceState(String deviceState) {
		this.deviceState = deviceState;
	}
	public String getDutyBlong() {
		return dutyBlong;
	}
	public void setDutyBlong(String dutyBlong) {
		this.dutyBlong = dutyBlong;
	}
	public String getQuestionDescription() {
		return questionDescription;
	}
	public void setQuestionDescription(String questionDescription) {
		this.questionDescription = questionDescription;
	}
	public String getReasonAnalyse() {
		return reasonAnalyse;
	}
	public void setReasonAnalyse(String reasonAnalyse) {
		this.reasonAnalyse = reasonAnalyse;
	}
	public String getSolvePlan() {
		return solvePlan;
	}
	public void setSolvePlan(String solvePlan) {
		this.solvePlan = solvePlan;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}

}
